Visual Basic (Declaration) | |
---|---|
Overloads Function ShowMessageAsync(Of T)( _ ByVal commands As IEnumerable(Of IDialogUICommand(Of T)), _ ByVal message As String, _ Optional ByVal title As String _ ) As Task(Of T) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IDialogManager Dim commands As IEnumerable(Of IDialogUICommand(Of T)) Dim message As String Dim title As String Dim value As Task(Of T) value = instance.ShowMessageAsync(Of T)(commands, message, title) |
C# | |
---|---|
Task<T> ShowMessageAsync<T>( IEnumerable<IDialogUICommand<T>> commands, string message, string title ) |
C++/CLI | |
---|---|
Task<T^>^ ShowMessageAsyncgeneric<typename T> ( IEnumerable<IDialogUICommand<T^>^>^ commands, String^ message, String^ title ) |
Parameters
- commands
- A list of commands that can be invoked as part of the message box.
- message
- The message to display.
- title
- Optional title of the message box.
Type Parameters
- T
- User-defined dialog result type.
Return Value
The dialog result.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family